package io.summer.redis.tool;

import org.redisson.api.RedissonClient;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.stereotype.Component;

/**
 * @author ml
 */
public final class RedissonTool {
  private RedissonClient redissonClient;

  public RedissonClient client() {
    return redissonClient;
  }

  @Autowired
  private void setRedissonClient(RedissonClient template) {
    redissonClient = template;
  }
}
